<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>微商城</title>
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta name="format-detection" content="telephone=no">
<link href="__STATIC__/hotel/css/public.css" rel="stylesheet">
<link href="__STATIC__/hotel/css/style.css" rel="stylesheet">
</head>
<body>
<div id="mini">
	<!-- 顶部 -->
    <!-- <div class="header">
        <a href="javascript:history.go(-1)" class="lf">
            <img src="__STATIC__/hotel/images/left.png" alt="">
            <span>返回</span>
        </a>
        <span>微商城</span>
        <a href="javascript:void(0)" class="rt">
            <img src="__STATIC__/hotel/images/dot.png" alt="">
        </a>
    </div> -->
    <div class="link">
    	<a href="#">
    		<img src="__STATIC__/hotel/images/order_2.png" alt="">
    	</a>
    </div>
    <div class="giftList">
        <?php foreach($info as $k=>$val):?>
    	<div class="gift">
    		<img src="{$val.logo}" alt="">
    		<div class="giftName">
    			<p>{$val.name}</p>
    			<a href="{:U('Package')}?kindid={$val.id}">立即查看</a>
    		</div>
    	</div>
        <?php endforeach;?>
    </div>
</div>
</body>
<script src="__STATIC__/hotel/js/jquery.js"></script>
<script type="text/javascript">
    $(function(){
        // 动态获取giftList的高
        var height=$(window).height()-$('.header').outerHeight(true)-$('.link').outerHeight(true);
        $('.giftList').css('height',height);
    });
</script>
</html>